home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Applications / Demos_Demo folder / Demos_Info folder / Demos™ Demonstration / Models / Accounting library next >
Encoding:
Text File  |  1992-05-14  |  1.9 KB  |  70 lines  |  [TEXT/DMOS]

  1. { From user A Lumens, Project House at Thu, May 14, 1992 6:06 PM }
  2.  
  3. Attribute  Nodefont
  4.  
  5. Attribute  Nodeinfo
  6.  
  7. Attribute  Paramnames
  8.  
  9. Library Account_lib
  10. Title: Accounting~
  11. library
  12. Author: Max's
  13. Date: Sat, Sep 22, 1990 6:29 PM
  14. Saveauthor: A Lumens
  15. Savedate: Thu, May 14, 1992 6:06 PM
  16. Diagstate: 1,148,244,394,140,1
  17. Fontstyle: Geneva, 9
  18. Fileinfo: 0,-5,2763,Library Account_lib,Accounting library
  19.  
  20. Function Accumulate(x, n)
  21. Title: Accumulate
  22. Description: Accumulated amount after n periods of a unit investment at the end of each period at a periodic interest rate of x.~
  23.     Sum over i from 0 to n-1 of (1+x)^i
  24. Definition: If x=0 then n else ((x+1)^n - 1)/x
  25. Location: 56,20
  26. Nodesize: 40,12
  27. Paramnames: X, N
  28.  
  29. Function Accum_mid(x, n)
  30. Title: Accumulate~
  31. midyear
  32. Description: Accumulated sum after n years of a unit investment at~
  33. in the middle of each year, with annual interest of x.~
  34.     Sum over i from 1 to n of (1+x)^(1-.5)
  35. Definition: Accumulate(x, n)/(1+x)^0.5
  36. Location: 56,80
  37. Nodesize: 40,16
  38. Paramnames: X, N
  39.  
  40. Function Annualize(x, n)
  41. Title: Annualize
  42. Description: The annual  end of period year investment that is equivalent to a unit sum n periods in the future at a periodic interest rate  of x.
  43. Definition: 1/Accumulate(x, n)
  44. Location: 164,20
  45. Nodesize: 36,12
  46. Paramnames: X, N
  47.  
  48. Function Mortgage_pay(x, n)
  49. Title: Mortgage~
  50. payment
  51. Description: Annual mortgage payments to pay off a unit mortgage~
  52. at annual interest x over n years, assuming payments~
  53. are made midyear.
  54. Definition: (1+x)^(n+0.5)/Accumulate(x, n)
  55. Location: 164,80
  56. Nodesize: 44,16
  57. Paramnames: X, N
  58.  
  59. Function Mort_monthly(x, n)
  60. Title: Monthly mortgage~
  61. payments
  62. Description: Monthly mortgage payments over n years assuming a nominal~
  63. annual interest rate of x, as a fraction of total mortgage amount. Assumes payments are made at the end of each month.
  64. Definition: (1+x/12)^(12*n)/Accumulate(x/12, n*12)
  65. Location: 276,80
  66. Nodesize: 52,16
  67. Paramnames: X, N
  68.  
  69. Close Account_lib
  70.